from rest_framework import serializers

from apps.common.school.models import Faculty, Classes, Major


class ClassListSerializer(serializers.ModelSerializer):

    class Meta:
        model = Classes
        fields = '__all__'


class MajorListSerializer(serializers.ModelSerializer):

    class Meta:
        model = Major
        fields = '__all__'


class FacultySerializer(serializers.ModelSerializer):

    class Meta:
        model = Faculty
        fields = '__all__'
